<?php 
// +----------------------------------------------------------------------
// | RXThinkCMF框架 [ RXThinkCMF ]
// +----------------------------------------------------------------------
// | 版权所有 2017~2021 南京RXThinkCMF研发中心
// +----------------------------------------------------------------------
// | 官方网站: http://www.rxthink.cn
// +----------------------------------------------------------------------
// | Author: 牧羊人 <1175401194@qq.com>
// +----------------------------------------------------------------------

namespace App\Http\Controllers;


use App\Models\ExampleModel;
use App\Services\ExampleService;
use Illuminate\Http\Request;

/**
 * 案例演示管理-控制器
 * @author 牧羊人
 * @since: 2021/08/25
 * Class ExampleController
 * @package App\Http\Controllers
 */
class ExampleController extends Backend
{
    /**
     * 构造函数
     * @param Request $request
     * @since 2021/08/25
     * LevelController constructor.
     * @author 牧羊人
     */
    public function __construct(Request $request)
    {
        parent::__construct($request);
        $this->model = new ExampleModel();
        $this->service = new ExampleService();
    }

	                
	/**
	 * 设置状态
	 * @return mixed
	 * @since 2021/08/25
	 * @author 牧羊人
	 */
	public function setStatus()
	{
		if (IS_POST) {
			$result = $this->service->setStatus();
			return $result;
		}
	}
	        
	/**
	 * 设置是否VIP
	 * @return mixed
	 * @since 2021/08/25
	 * @author 牧羊人
	 */
	public function setIsVip()
	{
		if (IS_POST) {
			$result = $this->service->setIsVip();
			return $result;
		}
	}
	                        
}
